from django.contrib import admin
from dawn.friends.models import *

class FriendGroupAdmin(admin.ModelAdmin):
    list_display = ('user', 'name')
    
admin.site.register(FriendGroup, FriendGroupAdmin)


class FriendshipAdmin(admin.ModelAdmin):
    list_display = ('user', 'friend', 'create_date', 'is_confirmed', 'confirm_date', 'group')
    list_filter = ('is_confirmed',)

admin.site.register(Friendship, FriendshipAdmin)
